package SelectLessonBL;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.ArrayList;

import vo.LessonVO;
import vo.SelectLessonVO;
import vo.StudentVO;
import error.DoubleSelectException;
import error.QualificationException;
import error.TimeException;

public class MockSelectLessonController extends UnicastRemoteObject implements
				SelectLessonLogicService 
{

	protected MockSelectLessonController() throws RemoteException {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public boolean joinClass(SelectLessonVO aim) throws RemoteException,
			QualificationException, TimeException {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean quitClass(SelectLessonVO aim) throws RemoteException,
			TimeException, QualificationException {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean rejoinClass(SelectLessonVO aim) throws RemoteException,
			QualificationException, TimeException {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public ArrayList<LessonVO> getLesson(LessonVO aim) throws RemoteException {
		// TODO Auto-generated method stub
		ArrayList<LessonVO> temp = new ArrayList<LessonVO>();
		temp.add(aim);
		return temp;
	}

	@Override
	public ArrayList<SelectLessonVO> getSelectLesson(SelectLessonVO aim)
			throws RemoteException {
		// TODO Auto-generated method stub
		ArrayList<SelectLessonVO> temp = new ArrayList<SelectLessonVO>();
		temp.add(aim);
		return temp;
	}

	@Override
	public ArrayList<SelectLessonVO> ManageSelectLesson(String LessonID)
			throws RemoteException, DoubleSelectException, TimeException {
		// TODO Auto-generated method stub
		ArrayList<SelectLessonVO> temp = new ArrayList<SelectLessonVO>();
		SelectLessonVO slv = new SelectLessonVO();
		slv.lesson = LessonID;
		temp.add(slv);
		return temp;
	}

	@Override
	public boolean setSelectLesson(SelectLessonVO aim) throws RemoteException {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean setSelectLesson(String LessonID, StudentVO aim)
			throws RemoteException {
		// TODO Auto-generated method stub
		return true;
	}

}
